/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ajjj.kiviq.remoteInterfaces;

import ajjj.kiviq.entities.UserEnt;

/**
 *
 * @author jeklund
 */
public interface IRemoteUser {

    /**
     * Saves a UserEnt object to the database
     * @param ue
     */
    void addUser(UserEnt ue);

    /**
     * Finds a UserEnt object with the given name
     * @param userName
     * @return the UserEnt object found, null otherwise
     */
    UserEnt findUser(String userName);

    /**
     * Removes a UserEnt from the database
     * @param ue
     */
    void removeUser(UserEnt ue);

    /**
     * Updates a UserEnt object
     * @param ue
     */
    void updateUser(UserEnt ue);
    
}
